namespace RiceShop.Models
{
    public class WxLoginModel
    {
        public string Code { get; set; } = string.Empty;
        public WxUserInfo UserInfo { get; set; } = null!;
    }

    public class WxUserInfo
    {
        public string NickName { get; set; } = string.Empty;
        public string AvatarUrl { get; set; } = string.Empty;
        public string Gender { get; set; } = string.Empty;
        public string Country { get; set; } = string.Empty;
        public string Province { get; set; } = string.Empty;
        public string City { get; set; } = string.Empty;
    }
}